﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace Wpf.Netdisk.Models.BaseModel
{
    public class EntityBaseModel: BindableBase
    {
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UDate { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建人
        /// </summary>
        public  string CUser { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public  string UUser { get; set; }

        /// <summary>
        /// 是否可用(默认可用)
        /// </summary>
        public int IsActive { get; set; } = 1;
   
        private string id;

        public string Id
        {
            get { return id; }
            set { id = value; RaisePropertyChanged(); }
        }

    }
}
